//
//  NoteCellTableViewCell.m
//  Article
//
//  Created by Haricot_cpc17 on 16/5/10.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "NoteCellTableViewCell.h"

@implementation NoteCellTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
   // [self createUI];
    
}

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self createUI];
    }
    return self;
}

-(void)createUI{
    _idLabel = [[UILabel alloc]initWithFrame:CGRectMake(80, 10, WIDTH, 20)];
    _idLabel.font = [UIFont fontWithName:@"Heiti SC" size:13];
    [self addSubview:_idLabel];
    
    _wayLabel = [[UILabel alloc]initWithFrame:CGRectMake(80, 40, WIDTH/2, 20)];
    _wayLabel.font = [UIFont fontWithName:@"Heiti SC" size:13];
    [self addSubview:_wayLabel];
    
    _moneyLabel = [[UILabel alloc]initWithFrame:CGRectMake(WIDTH / 2 + 70, 40, WIDTH/2, 20)];
    _moneyLabel.font = [UIFont fontWithName:@"Heiti SC" size:13];
    [self addSubview:_moneyLabel];

}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
